<!doctype html>
<html ng-app="mui">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- for example only -->
    <script src="../../node_modules/angular/angular.js"></script>
    <!-- end -->

    <link rel="stylesheet" type="text/css" href="../assets/mui/css/mui.css"/>
    <script src="../assets/mui/angular/mui-angular.js"></script>
  </head>
  <body>
    <mui-container>
      <h1>Form</h1>
      <mui-panel>
        <mui-form name="form1">
          <legend>Title</legend>
          <mui-input name="inputA1" ng-model="form1.inputA"></mui-input>
          <mui-button color="primary">submit</mui-button>
        </mui-form>
      </mui-panel>

      <mui-panel>
        <mui-form name="form2">
          <fieldset>
            <legend>Fieldset1</legend>
            <mui-input name="inputC1x" ng-model="form3.inputC1"></mui-input>
            <mui-input name="inputC2x" ng-model="form3.inputC2"></mui-input>
          </fieldset>
          <fieldset>
            <legend>Fieldset2</legend>
            <mui-input name="inputC3x" ng-model="form3.inputC4"></mui-input>
            <mui-input name="inputC4x" ng-model="form3.inputC4"></mui-input>
          </fieldset>
          <mui-button color="primary">submit</mui-button>
        </mui-form>
      </mui-panel>

      <mui-panel>
        <mui-form name="form3" inline>
          <legend>Title</legend>
          <mui-input name="inputB1" ng-model="form2.inputB"></mui-input>
          <mui-button color="primary">submit</mui-button>
        </mui-form>
      </mui-panel>

      <mui-panel>
        <mui-form name="form4" inline>
          <fieldset>
            <legend>Fieldset1</legend>
            <mui-input name="inputC1x" ng-model="form3.inputC1"></mui-input>
            <mui-input name="inputC2x" ng-model="form3.inputC2"></mui-input>
          </fieldset>
          <fieldset>
            <legend>Fieldset2</legend>
            <mui-input name="inputC3x" ng-model="form3.inputC4"></mui-input>
            <mui-input name="inputC4x" ng-model="form3.inputC4"></mui-input>
          </fieldset>
          <mui-button color="primary">submit</mui-button>
        </mui-form>
      </mui-panel>

    </mui-container>
  </body>
</html>
